home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 17 / Computer Interactive cdrom 17 - gen 99.iso / ZDNETIT / CONTENT / IMSWBPRO.ZIP / _setup.1 / behaviors.js < prev    next >
Encoding:
Text File  |  1998-11-01  |  8.7 KB  |  506 lines

  1. //<!-- 
  2. //***Virtual Mechanics IMS JavaScript. Project Title: behaviors
  3. mW = window.screen.width;
  4. mH = window.screen.height;
  5. //window.style.display = "none"; 
  6. mS = 1.0; 
  7. //mS = 0.64; 
  8. //if(mW > 0) mS = mW / 800;
  9.  
  10. totAtr = 1;
  11.  
  12. totEvt = 4;
  13. AEvent[1]=136;
  14. ATime[1]=0;
  15. AValue[1]=0;
  16. AEnter[1]=12;
  17. DEvent[1]=1;
  18. DTime[1]=15;
  19. DValue[1]=0;
  20. WAEvent[1]=30;
  21. WDEvent[1]=-1073741820;
  22. WASOp[1]=0;
  23. WAGOp[1]=0;
  24. OpForm[1]=0;
  25. WAForm[1]=0;
  26. WACatt[1]=0;
  27. WACgeo[1]=0;
  28. WACact[1]=0;
  29. WACsnd[1]=77;
  30. WACevt[1]=0;
  31. WACobj[1]=0;
  32. WALink[1]=" ";
  33. AEvent[2]=4;
  34. ATime[2]=0;
  35. AValue[2]=0;
  36. DEvent[2]=1;
  37. DTime[2]=20;
  38. DValue[2]=0;
  39. WAEvent[2]=62;
  40. WDEvent[2]=-1073741666;
  41. WAAObj[2]=1;
  42. WASOp[2]=0;
  43. WAGOp[2]=0;
  44. OpForm[2]=0;
  45. WAForm[2]=0;
  46. WACatt[2]=0;
  47. WACgeo[2]=0;
  48. WACact[2]=0;
  49. WACsnd[2]=77;
  50. WACevt[2]=0;
  51. WACobj[2]=0;
  52. WALink[2]=" ";
  53. WDDObj[2]=1;
  54. AEvent[3]=4;
  55. ATime[3]=0;
  56. AValue[3]=0;
  57. DEvent[3]=32768;
  58. DTime[3]=0;
  59. DValue[3]=0;
  60. WAEvent[3]=30;
  61. WDEvent[3]=-1073741816;
  62. WASOp[3]=0;
  63. WAGOp[3]=0;
  64. OpForm[3]=0;
  65. WAForm[3]=0;
  66. WACatt[3]=0;
  67. WACgeo[3]=0;
  68. WACact[3]=0;
  69. WACsnd[3]=77;
  70. WACevt[3]=0;
  71. WACobj[3]=0;
  72. WALink[3]=" ";
  73. AEvent[4]=1;
  74. ATime[4]=10;
  75. AValue[4]=0;
  76. DEvent[4]=1;
  77. DTime[4]=20;
  78. DValue[4]=0;
  79. WAEvent[4]=30;
  80. WDEvent[4]=-1073741820;
  81. WASOp[4]=0;
  82. WAGOp[4]=0;
  83. OpForm[4]=0;
  84. WAForm[4]=0;
  85. WACatt[4]=0;
  86. WACgeo[4]=0;
  87. WACact[4]=0;
  88. WACsnd[4]=77;
  89. WACevt[4]=0;
  90. WACobj[4]=0;
  91. WALink[4]=" ";
  92.  
  93. totPath = 14;
  94. Gtyp[1] = 1;
  95. Glen[1] = mS*120;
  96. Gszx[1]=mS*13;
  97. Gszy[1]=mS*17;
  98. Gorx[1]=mS*0;
  99. Gory[1]=mS*0;
  100. Gpxl[1] = new Array(); 
  101. Gpyl[1] = new Array(); 
  102. Gnpt[1] = 2;
  103. Gpxl[1][0]=mS*-13;
  104. Gpyl[1][0]=mS*-17;
  105. Gpxl[1][1]=mS*13;
  106. Gpyl[1][1]=mS*17;
  107. Gtyp[2] = 1;
  108. Glen[2] = mS*96;
  109. Gszx[2]=mS*7;
  110. Gszy[2]=mS*17;
  111. Gorx[2]=mS*0;
  112. Gory[2]=mS*0;
  113. Gpxl[2] = new Array(); 
  114. Gpyl[2] = new Array(); 
  115. Gnpt[2] = 2;
  116. Gpxl[2][0]=mS*-7;
  117. Gpyl[2][0]=mS*-17;
  118. Gpxl[2][1]=mS*7;
  119. Gpyl[2][1]=mS*17;
  120. Gtyp[3] = 1;
  121. Glen[3] = mS*96;
  122. Gszx[3]=mS*7;
  123. Gszy[3]=mS*17;
  124. Gorx[3]=mS*0;
  125. Gory[3]=mS*0;
  126. Gpxl[3] = new Array(); 
  127. Gpyl[3] = new Array(); 
  128. Gnpt[3] = 2;
  129. Gpxl[3][0]=mS*-7;
  130. Gpyl[3][0]=mS*-17;
  131. Gpxl[3][1]=mS*7;
  132. Gpyl[3][1]=mS*17;
  133. Gtyp[4] = 1;
  134. Glen[4] = mS*88;
  135. Gszx[4]=mS*5;
  136. Gszy[4]=mS*17;
  137. Gorx[4]=mS*0;
  138. Gory[4]=mS*0;
  139. Gpxl[4] = new Array(); 
  140. Gpyl[4] = new Array(); 
  141. Gnpt[4] = 2;
  142. Gpxl[4][0]=mS*-5;
  143. Gpyl[4][0]=mS*-17;
  144. Gpxl[4][1]=mS*5;
  145. Gpyl[4][1]=mS*17;
  146. Gtyp[5] = 1;
  147. Glen[5] = mS*92;
  148. Gszx[5]=mS*6;
  149. Gszy[5]=mS*17;
  150. Gorx[5]=mS*0;
  151. Gory[5]=mS*0;
  152. Gpxl[5] = new Array(); 
  153. Gpyl[5] = new Array(); 
  154. Gnpt[5] = 2;
  155. Gpxl[5][0]=mS*-6;
  156. Gpyl[5][0]=mS*-17;
  157. Gpxl[5][1]=mS*6;
  158. Gpyl[5][1]=mS*17;
  159. Gtyp[6] = 1;
  160. Glen[6] = mS*112;
  161. Gszx[6]=mS*11;
  162. Gszy[6]=mS*17;
  163. Gorx[6]=mS*0;
  164. Gory[6]=mS*0;
  165. Gpxl[6] = new Array(); 
  166. Gpyl[6] = new Array(); 
  167. Gnpt[6] = 2;
  168. Gpxl[6][0]=mS*-11;
  169. Gpyl[6][0]=mS*-17;
  170. Gpxl[6][1]=mS*11;
  171. Gpyl[6][1]=mS*17;
  172. Gtyp[7] = 1;
  173. Glen[7] = mS*96;
  174. Gszx[7]=mS*7;
  175. Gszy[7]=mS*17;
  176. Gorx[7]=mS*0;
  177. Gory[7]=mS*0;
  178. Gpxl[7] = new Array(); 
  179. Gpyl[7] = new Array(); 
  180. Gnpt[7] = 2;
  181. Gpxl[7][0]=mS*-7;
  182. Gpyl[7][0]=mS*-17;
  183. Gpxl[7][1]=mS*7;
  184. Gpyl[7][1]=mS*17;
  185. Gtyp[8] = 1;
  186. Glen[8] = mS*92;
  187. Gszx[8]=mS*6;
  188. Gszy[8]=mS*17;
  189. Gorx[8]=mS*0;
  190. Gory[8]=mS*0;
  191. Gpxl[8] = new Array(); 
  192. Gpyl[8] = new Array(); 
  193. Gnpt[8] = 2;
  194. Gpxl[8][0]=mS*-6;
  195. Gpyl[8][0]=mS*-17;
  196. Gpxl[8][1]=mS*6;
  197. Gpyl[8][1]=mS*17;
  198. Gtyp[9] = 1;
  199. Glen[9] = mS*88;
  200. Gszx[9]=mS*5;
  201. Gszy[9]=mS*17;
  202. Gorx[9]=mS*0;
  203. Gory[9]=mS*0;
  204. Gpxl[9] = new Array(); 
  205. Gpyl[9] = new Array(); 
  206. Gnpt[9] = 2;
  207. Gpxl[9][0]=mS*-5;
  208. Gpyl[9][0]=mS*-17;
  209. Gpxl[9][1]=mS*5;
  210. Gpyl[9][1]=mS*17;
  211. Gtyp[10] = 1;
  212. Glen[10] = mS*1292;
  213. Gszx[10]=mS*243;
  214. Gszy[10]=mS*80;
  215. Gorx[10]=mS*0;
  216. Gory[10]=mS*0;
  217. Gpxl[10] = new Array(); 
  218. Gpyl[10] = new Array(); 
  219. Gnpt[10] = 2;
  220. Gpxl[10][0]=mS*-243;
  221. Gpyl[10][0]=mS*-80;
  222. Gpxl[10][1]=mS*243;
  223. Gpyl[10][1]=mS*80;
  224. Gtyp[11] = 1;
  225. Glen[11] = mS*1292;
  226. Gszx[11]=mS*243;
  227. Gszy[11]=mS*80;
  228. Gorx[11]=mS*0;
  229. Gory[11]=mS*0;
  230. Gpxl[11] = new Array(); 
  231. Gpyl[11] = new Array(); 
  232. Gnpt[11] = 2;
  233. Gpxl[11][0]=mS*-243;
  234. Gpyl[11][0]=mS*-80;
  235. Gpxl[11][1]=mS*243;
  236. Gpyl[11][1]=mS*80;
  237. Gspt[12]=new Image();
  238. Gspt[12].src="../clipart/bird-1.gif";
  239. Gtyp[12] = 1;
  240. Glen[12] = mS*560;
  241. Gszx[12]=mS*80;
  242. Gszy[12]=mS*60;
  243. Gorx[12]=mS*0;
  244. Gory[12]=mS*0;
  245. Gpxl[12] = new Array(); 
  246. Gpyl[12] = new Array(); 
  247. Gnpt[12] = 2;
  248. Gpxl[12][0]=mS*-80;
  249. Gpyl[12][0]=mS*-60;
  250. Gpxl[12][1]=mS*80;
  251. Gpyl[12][1]=mS*60;
  252. Gtyp[13] = 11
  253. Glen[13] = mS*439;
  254. Gszx[13]=mS*219;
  255. Gszy[13]=mS*0;
  256. Gorx[13]=mS*28;
  257. Gory[13]=mS*2;
  258. Gpxl[13] = new Array();
  259. Gpyl[13] = new Array();
  260. Gnpt[13] = 3;
  261. Gpxl[13][0]=mS*247;
  262. Gpyl[13][0]=mS*2;
  263. Gpxl[13][1]=mS*-192;
  264. Gpyl[13][1]=mS*1;
  265. Gpxl[13][2]=mS*-192;
  266. Gpyl[13][2]=mS*1;
  267. Gtyp[14] = 1;
  268. Glen[14] = mS*164;
  269. Gszx[14]=mS*32;
  270. Gszy[14]=mS*9;
  271. Gorx[14]=mS*0;
  272. Gory[14]=mS*0;
  273. Gpxl[14] = new Array(); 
  274. Gpyl[14] = new Array(); 
  275. Gnpt[14] = 2;
  276. Gpxl[14][0]=mS*-32;
  277. Gpyl[14][0]=mS*-9;
  278. Gpxl[14][1]=mS*32;
  279. Gpyl[14][1]=mS*9;
  280.  
  281. totAct = 1;
  282. MType[1]=16777473;
  283. MPath[1]=13;
  284. MRate[1]=4;
  285. MDelay[1]=0;
  286. MRepeat[1]=1;
  287. MCount[1]=1;
  288. MGWst[1]=0;
  289. MGNth[1]=0;
  290. MGEst[1]=0;
  291. MGSth[1]=0;
  292.  
  293. totObj = 14;
  294. obRef[1] = 1;
  295. ob[1] = new Array();
  296. ob[1].geo = 1;
  297. ob[1].att = 0;
  298. ob[1].evt = 1; 
  299. ob[1].act = 0;
  300. ob[1].grp = 0;
  301. ob[1].cpox =325.500000;
  302. ob[1].cpoy =109.000000;
  303. ob[1].cscx =2.000000;
  304. ob[1].cscy =2.000000;
  305. ob[1].crot =0.000000;
  306. ob[1].val  =0;
  307. ob[1].flg  =0;
  308.  
  309. obRef[2] = 2;
  310. ob[2] = new Array();
  311. ob[2].geo = 2;
  312. ob[2].att = 0;
  313. ob[2].evt = 1; 
  314. ob[2].act = 0;
  315. ob[2].grp = 0;
  316. ob[2].cpox =363.100006;
  317. ob[2].cpoy =109.000000;
  318. ob[2].cscx =2.000000;
  319. ob[2].cscy =2.000000;
  320. ob[2].crot =0.000000;
  321. ob[2].val  =0;
  322. ob[2].flg  =0;
  323.  
  324. obRef[3] = 3;
  325. ob[3] = new Array();
  326. ob[3].geo = 3;
  327. ob[3].att = 0;
  328. ob[3].evt = 1; 
  329. ob[3].act = 0;
  330. ob[3].grp = 0;
  331. ob[3].cpox =408.700012;
  332. ob[3].cpoy =109.000000;
  333. ob[3].cscx =4.001232;
  334. ob[3].cscy =2.000000;
  335. ob[3].crot =0.000000;
  336. ob[3].val  =0;
  337. ob[3].flg  =0;
  338.  
  339. obRef[4] = 4;
  340. ob[4] = new Array();
  341. ob[4].geo = 4;
  342. ob[4].att = 0;
  343. ob[4].evt = 1; 
  344. ob[4].act = 0;
  345. ob[4].grp = 0;
  346. ob[4].cpox =438.299988;
  347. ob[4].cpoy =109.000000;
  348. ob[4].cscx =5.525510;
  349. ob[4].cscy =2.000000;
  350. ob[4].crot =0.000000;
  351. ob[4].val  =0;
  352. ob[4].flg  =0;
  353.  
  354. obRef[5] = 5;
  355. ob[5] = new Array();
  356. ob[5].geo = 5;
  357. ob[5].att = 0;
  358. ob[5].evt = 1; 
  359. ob[5].act = 0;
  360. ob[5].grp = 0;
  361. ob[5].cpox =464.899994;
  362. ob[5].cpoy =109.000000;
  363. ob[5].cscx =4.725818;
  364. ob[5].cscy =2.000000;
  365. ob[5].crot =0.000000;
  366. ob[5].val  =0;
  367. ob[5].flg  =0;
  368.  
  369. obRef[6] = 6;
  370. ob[6] = new Array();
  371. ob[6].geo = 6;
  372. ob[6].att = 0;
  373. ob[6].evt = 1; 
  374. ob[6].act = 0;
  375. ob[6].grp = 0;
  376. ob[6].cpox =523.000000;
  377. ob[6].cpoy =109.000000;
  378. ob[6].cscx =2.573140;
  379. ob[6].cscy =2.000000;
  380. ob[6].crot =0.000000;
  381. ob[6].val  =0;
  382. ob[6].flg  =0;
  383.  
  384. obRef[7] = 7;
  385. ob[7] = new Array();
  386. ob[7].geo = 7;
  387. ob[7].att = 0;
  388. ob[7].evt = 1; 
  389. ob[7].act = 0;
  390. ob[7].grp = 0;
  391. ob[7].cpox =563.500000;
  392. ob[7].cpoy =109.000000;
  393. ob[7].cscx =4.001232;
  394. ob[7].cscy =2.000000;
  395. ob[7].crot =0.000000;
  396. ob[7].val  =0;
  397. ob[7].flg  =0;
  398.  
  399. obRef[8] = 8;
  400. ob[8] = new Array();
  401. ob[8].geo = 8;
  402. ob[8].att = 0;
  403. ob[8].evt = 1; 
  404. ob[8].act = 0;
  405. ob[8].grp = 0;
  406. ob[8].cpox =593.000000;
  407. ob[8].cpoy =109.000000;
  408. ob[8].cscx =4.641429;
  409. ob[8].cscy =2.000000;
  410. ob[8].crot =0.000000;
  411. ob[8].val  =0;
  412. ob[8].flg  =0;
  413.  
  414. obRef[9] = 9;
  415. ob[9] = new Array();
  416. ob[9].geo = 9;
  417. ob[9].att = 0;
  418. ob[9].evt = 1; 
  419. ob[9].act = 0;
  420. ob[9].grp = 0;
  421. ob[9].cpox =622.500000;
  422. ob[9].cpoy =109.000000;
  423. ob[9].cscx =5.625974;
  424. ob[9].cscy =2.000000;
  425. ob[9].crot =0.000000;
  426. ob[9].val  =0;
  427. ob[9].flg  =0;
  428.  
  429. obRef[10] = 10;
  430. ob[10] = new Array();
  431. ob[10].geo = 10;
  432. ob[10].att = 0;
  433. ob[10].evt = 2; 
  434. ob[10].act = 0;
  435. ob[10].grp = 0;
  436. ob[10].cpox =215.000000;
  437. ob[10].cpoy =119.000000;
  438. ob[10].cscx =0.308376;
  439. ob[10].cscy =0.602484;
  440. ob[10].crot =0.000000;
  441. ob[10].val  =0;
  442. ob[10].flg  =0;
  443.  
  444. obRef[11] = 11;
  445. ob[11] = new Array();
  446. ob[11].geo = 11;
  447. ob[11].att = 0;
  448. ob[11].evt = 0;
  449. ob[11].act = 0;
  450. ob[11].grp = 0;
  451. ob[11].cpox =448.000000;
  452. ob[11].cpoy =233.000000;
  453. ob[11].cscx =1.265929;
  454. ob[11].cscy =0.654473;
  455. ob[11].crot =0.000000;
  456. ob[11].val  =0;
  457. ob[11].flg  =0;
  458.  
  459. obRef[12] = 12;
  460. ob[12] = new Array();
  461. ob[12].geo = 12;
  462. ob[12].att = 1; 
  463. ob[12].evt = 3; 
  464. ob[12].act = 1;
  465. ob[12].grp = 0;
  466. ob[12].cpox =673.000000;
  467. ob[12].cpoy =107.000000;
  468. ob[12].cscx =0.385093;
  469. ob[12].cscy =0.371901;
  470. ob[12].crot =0.000000;
  471. ob[12].val  =0;
  472. ob[12].flg  =0;
  473.  
  474. obRef[13] = 13;
  475. ob[13] = new Array();
  476. ob[13].geo = 13;
  477. ob[13].att = 0;
  478. ob[13].evt = 0;
  479. ob[13].act = 0;
  480. ob[13].grp = 0;
  481. ob[13].cpox =454.000000;
  482. ob[13].cpoy =115.000000;
  483. ob[13].cscx =0.900000;
  484. ob[13].cscy =1.000000;
  485. ob[13].crot =0.000000;
  486. ob[13].val  =0;
  487. ob[13].flg  =0;
  488.  
  489. obRef[14] = 14;
  490. ob[14] = new Array();
  491. ob[14].geo = 14;
  492. ob[14].att = 0;
  493. ob[14].evt = 4; 
  494. ob[14].act = 0;
  495. ob[14].grp = 0;
  496. ob[14].cpox =688.000000;
  497. ob[14].cpoy =143.000000;
  498. ob[14].cscx =1.209756;
  499. ob[14].cscy =1.483918;
  500. ob[14].crot =0.000000;
  501. ob[14].val  =0;
  502. ob[14].flg  =0;
  503.  
  504.  
  505. //--> 
  506.